package com.wjw.mapper;

import com.wjw.model.Damage_type_ftable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DamageTypeFtableMapper {
    List<Damage_type_ftable> findAll();
    List<Damage_type_ftable> findByPage(@Param("page") int page, @Param("limit") int limit);
    int add(Damage_type_ftable damage_type_ftable);
    int delete(int id);
    int change(Damage_type_ftable damage_type_ftable);
}
